package com.huangkailong.designpattern.factory.abstractfactory;

/**
 * Java 课程工厂.
 *
 * @author huangkl
 * @since 1.0.0
 */
public class JavaCourseFactory implements CourseFactory {
    @Override
    public Video createVideo() {
        return new JavaVideo();
    }

    @Override
    public Note createNote() {
        return new JavaNote();
    }
}
